package com.sztx.pay.center.dataaccess.domain;

import java.util.Date;

import com.sztx.se.dataaccess.mysql.domain.BaseDO;

@SuppressWarnings("serial")
public class SettleRulePersonalDO extends BaseDO {
    private Long id;

    /**
    * 用户倍棒账号
     */
    private String userId;

    /**
    * 状态(1有效;2无效)
     */
    private Byte state;

    private Date createTime;

    /**
    * 修改时间
     */
    private Date modifyTime;

    /**
    * 用户所属渠道ID
     */
    private String channelId;

    /**
    * 渠道名称
     */
    private String channelName;

    /**
    * 操作人
     */
    private String operator;

    /**
    * 备注
     */
    private String attach;

    /**
    * 交易类型(1交易;2充值;3倍棒余额提现至支付宝 4倍棒余额提现至银行卡  5返利金提现至支付宝 6返利金提现至银行卡 7倍棒余额转账至银行卡 8 倍棒余额转账至倍棒余额 9银行卡转账至银行卡 10银行卡转账至倍棒余额)
     */
    private Byte tradeType;

    /**
    * 结算类型(1立即结算;2定时结算)
     */
    private Byte settleType;

    /**
    * 手续费计费方式(1百分比;2固定金额)
     */
    private Byte feeType;

    /**
    * fee_type=1时，表示百分数；fee_type=2时，表示金额，单位分
     */
    private Double feeAmount;

    /**
    * 手续费上限，单位：分
     */
    private Integer upperLimit;

    /**
    * 手续费下限，单位：分
     */
    private Integer lowerLimit;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return user_id
     */
    public String getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * @return state
     */
    public Byte getState() {
        return state;
    }

    /**
     * @param state
     */
    public void setState(Byte state) {
        this.state = state;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return modify_time
     */
    public Date getModifyTime() {
        return modifyTime;
    }

    /**
     * @param modifyTime
     */
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    /**
     * @return channel_id
     */
    public String getChannelId() {
        return channelId;
    }

    /**
     * @param channelId
     */
    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    /**
     * @return channel_name
     */
    public String getChannelName() {
        return channelName;
    }

    /**
     * @param channelName
     */
    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    /**
     * @return operator
     */
    public String getOperator() {
        return operator;
    }

    /**
     * @param operator
     */
    public void setOperator(String operator) {
        this.operator = operator;
    }

    /**
     * @return attach
     */
    public String getAttach() {
        return attach;
    }

    /**
     * @param attach
     */
    public void setAttach(String attach) {
        this.attach = attach;
    }

    /**
     * @return trade_type
     */
    public Byte getTradeType() {
        return tradeType;
    }

    /**
     * @param tradeType
     */
    public void setTradeType(Byte tradeType) {
        this.tradeType = tradeType;
    }

    /**
     * @return settle_type
     */
    public Byte getSettleType() {
        return settleType;
    }

    /**
     * @param settleType
     */
    public void setSettleType(Byte settleType) {
        this.settleType = settleType;
    }

    /**
     * @return fee_type
     */
    public Byte getFeeType() {
        return feeType;
    }

    /**
     * @param feeType
     */
    public void setFeeType(Byte feeType) {
        this.feeType = feeType;
    }

    /**
     * @return fee_amount
     */
    public Double getFeeAmount() {
        return feeAmount;
    }

    /**
     * @param feeAmount
     */
    public void setFeeAmount(Double feeAmount) {
        this.feeAmount = feeAmount;
    }

    /**
     * @return upper_limit
     */
    public Integer getUpperLimit() {
        return upperLimit;
    }

    /**
     * @param upperLimit
     */
    public void setUpperLimit(Integer upperLimit) {
        this.upperLimit = upperLimit;
    }

    /**
     * @return lower_limit
     */
    public Integer getLowerLimit() {
        return lowerLimit;
    }

    /**
     * @param lowerLimit
     */
    public void setLowerLimit(Integer lowerLimit) {
        this.lowerLimit = lowerLimit;
    }
}